package com.zy.entity;

public class Visit {

	private int vid;
	private String vaddress;
	private User user = new User();
	private Customer customer = new Customer();
	private String vcontent;
	
	public Visit() {
		super();
	}
	public Visit(int vid, String vaddress, User user, Customer customer, String vcontent) {
		super();
		this.vid = vid;
		this.vaddress = vaddress;
		this.user = user;
		this.customer = customer;
		this.vcontent = vcontent;
	}
	public int getVid() {
		return vid;
	}
	public void setVid(int vid) {
		this.vid = vid;
	}
	public String getVaddress() {
		return vaddress;
	}
	public void setVaddress(String vaddress) {
		this.vaddress = vaddress;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	public String getVcontent() {
		return vcontent;
	}
	public void setVcontent(String vcontent) {
		this.vcontent = vcontent;
	}
	@Override
	public String toString() {
		return "visit [vid=" + vid + ", vaddress=" + vaddress + ", user=" + user + ", customer=" + customer
				+ ", vcontent=" + vcontent + "]";
	}
	
	
	
}
